<script setup>
import { RouterView } from 'vue-router'
// import { onMounted } from 'vue' // No longer needed for cleanUrlHash
// import { cleanUrlHash } from './utils/router-helper' // Removed

// 应用挂载时清除hash
// onMounted(() => {  // Removed
//   console.log('应用挂载，清理URL hash')
//   cleanUrlHash()
// })
</script>

<template>
  <RouterView v-slot="{ Component }">
    <component :is="Component" />
  </RouterView>
</template>

<style>
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

#app {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}
</style>
